<%@ page import="pojo.Manager" %><%--
  Created by IntelliJ IDEA.
  User: 33503
  Date: 2023/11/25
  Time: 16:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html>
<head>
  <title>管理员个人信息</title>
  <style>
    input {
      width: 300px;
      height: 30px;
    }
    .manager-box{background-color: white;color: black; margin-left: 230px; margin-top: 30px; border-radius: 10px}
    .in-manager-box{background: rgba(255,255,255,0.6);  box-shadow: 4px 4px 4px 4px #b3d4fc; padding: 10px; margin: 10px; width: 50%; font-size: 20px; border-radius: 15px}
  </style>
</head>
<body>
<%--菜单栏--%>
<jsp:include page="management_menu.jsp"></jsp:include>
<h1 align="center" style="margin-left: 230px">管理员个人信息</h1>
<div align="center" class="manager-box">
  <div align="center" class="in-manager-box">
    <%
      Manager m1=(Manager) session.getAttribute("LOGIN_MANAGER");
    %>
    <form method="POST" action="${pageContext.request.contextPath}/UpdateManager">
      账&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号: <input type="text" name="m_id" value="<%=m1.getM_id()%>" readonly/><br/><br/>

      姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名: <input type="text" name="m_name" value="<%=m1.getM_name()%>" /><br/><br/>

      联系方式: <input type="text" name="m_phone" value="<%=m1.getM_phone()%>" /><br/><br/>
      密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码: <input type="text" name="m_pwd" value="<%=m1.getM_pwd()%>" /><br/><br/>
      <input type="submit" value="保存修改" onclick="alert('修改成功！将回到登录页面重新登录')" style="background-color: #286090; color: white; width: 100px;height: 35px"/>
    </form>
  </div>
</div>


</body>
</html>
